package com.geek.framework.study.event.distributed;

import java.util.EventObject;

/**
 * @Author: ysq
 * @Date: 2021/9/1
 * @Description: 分布式事件
 */
public class DistributedEventObject extends EventObject {

  /**
   * Constructs a prototypical Event.
   *
   * @param source The object on which the Event initially occurred.
   * @throws IllegalArgumentException if source is null.
   */
  public DistributedEventObject(final Object source) {
    super(source);
  }

  public boolean isDistributed() {
    return true;
  }
}
